<#import "/spring.ftl" as spring/>
<#list produceWorkTicketList as produceWorkTicket>
<tr>
	<!-- No -->
    <td><p class='tab-ddcz'>${(pageNo -1) * pageSize + produceWorkTicket_index+1}</p></td>
    <!-- 生产制单号 -->
    <td><p style='width:140px;'>
    	<#if produceWorkTicket.productionEntity??&&(produceWorkTicket.productionEntity.productionNo)??>
    		${produceWorkTicket.productionEntity.productionNo }
    	</#if>
    </p></td>
    <!-- 合同号 -->
    <td><p style='width:140px;'>
	    <#if produceWorkTicket.contractCustomEntity??&&(produceWorkTicket.contractCustomEntity.contractNo)??>
	    	${produceWorkTicket.contractCustomEntity.contractNo }
	    </#if>
    </p></td>
    <!-- 生产号 -->
    <td><p style='width:140px;'>
    	<#if produceWorkTicket.styleEntity??&&(produceWorkTicket.styleEntity.styleNo)??>
	    	${produceWorkTicket.styleEntity.styleNo }
	    </#if>
    </p></td>
    <!-- 订单号 -->
    <td><p style='width:144px;'>
	    <#if produceWorkTicket.orderEntity??&&(produceWorkTicket.orderEntity.orderNo)??>
	    	${produceWorkTicket.orderEntity.orderNo }
	    </#if>
    </p></td>
    <!-- 工序名称 -->
    <td><p style='width:250px;'>
	    <#if produceWorkTicket.operatingPEntity??&&(produceWorkTicket.operatingPEntity.itemNameCn)??>
	    	${produceWorkTicket.operatingPEntity.itemNameCn }
	    </#if>
    </p></td>      
    <!-- 人员-->
    <td><p style='width:100px;'>
	    <#if produceWorkTicket.updateBy??&&(produceWorkTicket.updateBy.firstName)??&&(produceWorkTicket.updateBy.lastName)??>
	    	${produceWorkTicket.updateBy.firstName }${produceWorkTicket.updateBy.lastName }
	    </#if>
    </p></td>
    <!-- 日期 -->
    <td><p style='width:150px;'>
	    <#if produceWorkTicket.updateDate??>
	    	${(produceWorkTicket.updateDate)?string("yyyy-MM-dd HH:mm:ss") }
	    </#if>
    </p></td>  
</tr>
</#list>